package com.example.springsecurity.service;

import java.util.Set;

/**
 * @ClassName PermissionService
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-09-15 13:18
 **/
public interface PermissionService {

    /**
     * 根据用户id获取用户所有的权限
     * @param userId 用户id
     * @return
     */
    public Set<String> getPermsByUserId(Long userId);
}
